<template>
  <div id="app">
    <header class="header">
      <nav class="inner">
        <router-link to="/">home</router-link>
        <router-link to="/test1">test1</router-link>
        <router-link to="/test2">test1</router-link>
        <router-link to="/test3">test3</router-link>
      </nav>
    </header>
    <transition name="fade" mode="out-in">
      <router-view class="view"></router-view>
    </transition>
  </div>
</template>
<style lang="stylus">
  .inner 
    a 
      margin-right 20px
</style>
